package com.feng.eduservice.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient(name="service-order")
public interface OrderClient {
    @GetMapping("/eduorder/order/getCourseBuy/{courseId}/{memberId}")
    public Boolean getCourseBuy(@PathVariable String courseId, @PathVariable String memberId);
}
